package com.example.api.client.shoppingCart;


import com.example.model.emp.pojo.Employee;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "service-user")
public interface CartApi {
    @GetMapping ("/emps")
    List<Employee> queryEmployeesById(@RequestParam List<Integer> ids);

}
